package com.example.dairenkun.neufoodshop.service;

import com.example.dairenkun.neufoodshop.bean.Food;
import com.example.dairenkun.neufoodshop.bean.User;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by Administrator on 2017/4/10.
 */

public interface SearchService {
    @GET("getFoodBySearch.do")
    Call<List<Food>> getsearchList(
            @Query("search") String search
    );
}
